package vboot.core.module.ass.num.main;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Entity
@Data
public class AssNumMain {
    @Id
    @Column(length = 8)
    private String id;

    @Column(length = 100)
    private String label;

    @Column(length = 32)
    private String name;

    @Column(length = 32)
    private String numod;//编号生成模式

    @Column(length = 32)
    private String nupre;//编号前缀

    private Boolean nflag;

    @Column(length = 8)
    private String nunex;//下一个编号

    private Integer nulen;//编号长度

    @Column(length = 8)
    private String cudat;//当前日期

    @Column(updatable = false)
    private Date crtim = new Date();//创建时间

    private Date uptim;//更新时间
}
